package com.bci.internal.engine.bcibpmengine.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 完成待办任务vo
 *
 * @author jzwu
 * @since 2021/4/9 0009
 */

@Data
public class CompleteTaskVo implements Serializable {

    @ApiModelProperty(value = "任务id")
    @NotBlank(message = "传入任务id不能为空")
    private String taskID;

    @ApiModelProperty(value = "流程环节处理人")
    @NotBlank(message = "处理人不能为空")
    private String assignee;

    @ApiModelProperty(value = "流程实例id")
    @NotBlank(message = "流程实例id不能为空")
    private String processInstanceId;


    @NotBlank(message = "流程定义id不能为空")
    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;

    @NotBlank(message = "节点名称不能为空")
    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @NotEmpty(message = "下一环节处理人不能为空")
    @ApiModelProperty(value = "下一环节处理人")
    private String nextNodeAssignee;

    @ApiModelProperty(value = "执行id")
    private String executionId;

    @ApiModelProperty(value = "是否通过", example = "pass==0 通过 pass ==1 不通过")
    private Integer pass;


}